<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>PlotArea.set4QBgColor</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1"><a href="PlotArea.htm">PlotArea</a>.<wbr>set4QBgColor</p>
<hr class="separator">
<p class="heading2a">Usage</p>
<div class="content">
public void set4QBgColor(int Q1Color, int Q2Color, int Q3Color, int Q4Color [, int edgeColor ])
</div>
<p class="heading2">Description</p>
<div class="content">
Sets using 4 background plot area colors for 4 quadrants.<br><br>
The first quadrant is the region defined by x &gt; 0 and y &gt; 0. The second quadrant is the region defined by x &lt; 0 and y &gt; 0. The third quadrant is the region defined by x &lt; 0 and y &lt; 0. The fourth quadrant is the region defined by x &gt; 0 and y &lt; 0. These 4 regions can be colored using 4 different background colors.
</div>
<p class="heading2">Arguments</p>
<div class="content">
<div style="width:100%;box-sizing:border-box;">
<table border="1" cellpadding="5" cellspacing="0" width="100%"> 
<tr>
<th width="19%">Argument</th><th width="19%">Default</th><th>Description</th>
</tr>
<tr>
<td>Q1Color</td><td>(Mandatory)</td><td>The background color to be used for the first quadrant.</td></tr><tr><td>Q2Color</td><td>(Mandatory)</td><td>The background color to be used for the second quadrant.</td></tr><tr><td>Q3Color</td><td>(Mandatory)</td><td>The background color to be used for the third quadrant.</td></tr><tr><td>Q4Color</td><td>(Mandatory)</td><td>The background color to be used for the fourth quadrant.</td></tr><tr><td>edgeColor</td><td>-1</td><td>he border color of the plot area. -1 means to use the default, which is <a href="Chart.LineColor.htm">LineColor</a>. However, if the axes are configured in 4 quadrant mode (see <a href="XYChart.setAxisAtOrigin.htm">XYChart.setAxisAtOrigin</a>), the default will change to <a href="Chart.Transparent.htm">Transparent</a>.</td>
</tr>
</table>
</div>
</div>
<p class="heading2">Return Value</p>
<div class="content">
None
</div>
<br><hr class="separator">
<div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
